import { useState } from 'react';

export default () => {
    const [count, setCount] = useState(0);
    return (
        <div className="w-1/2 mx-auto pt-28 text-lg">
            <h3>{count}</h3>
            <button onClick={() => setCount(count + 1)}>👍 + 1</button>
        </div>
    );
};
